projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613db8d
)
Fix error in tramp-smb-handle-insert-directory
author
Michael Albinus
<michael.albinus@gmx.de>
Mon, 16 Oct 2017 09:35:02 +0000
(11:35 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Mon, 16 Oct 2017 09:35:02 +0000
(11:35 +0200)
* lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
Insert size information only when FULL-DIRECTORY-P is non-nil.
lisp/net/tramp-smb.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp-smb.el
b/lisp/net/tramp-smb.el
index 620c93828dac8b6d0ff2b71d68c231d930751f6a..f35c10b58abb362d5dab79ed6597f7d59c90eca9 100644
(file)
--- a/
lisp/net/tramp-smb.el
+++ b/
lisp/net/tramp-smb.el
@@
-1073,10
+1073,11
@@
PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
entries))
;; Insert size information.
- (insert
- (if avail
- (format "total used in directory %s available %s\n" used avail)
- (format "total %s\n" used)))
+ (when full-directory-p
+ (insert
+ (if avail
+ (format "total used in directory %s available %s\n" used avail)
+ (format "total %s\n" used))))
;; Print entries.
(mapc